package com.webchat.chat.model;

import com.webchat.chat.core.tools.BaseModel;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Table(name = "system_cfg")
public class SystemCfg extends BaseModel implements Serializable {

    @Column(name = "STATIC_RESOURCE_URL")
    private String staticResourceUrl;

    @Column(name = "WEBSOCKET_URL_WEBSOCKET")
    private String websocketUrlWebsocket;

    /**
     * 编码
     */
    @Column(name = "CODE")
    private String code;

    @Column(name = "VALUE")
    private String value;

    /**
     * 备注
     */
    @Column(name = "REMARK")
    private String remark;



    /**
     * @return STATIC_RESOURCE_URL
     */
    public String getStaticResourceUrl() {
        return staticResourceUrl;
    }

    /**
     * @param staticResourceUrl
     */
    public void setStaticResourceUrl(String staticResourceUrl) {
        this.staticResourceUrl = staticResourceUrl;
    }

    /**
     * @return WEBSOCKET_URL_WEBSOCKET
     */
    public String getWebsocketUrlWebsocket() {
        return websocketUrlWebsocket;
    }

    /**
     * @param websocketUrlWebsocket
     */
    public void setWebsocketUrlWebsocket(String websocketUrlWebsocket) {
        this.websocketUrlWebsocket = websocketUrlWebsocket;
    }


    /**
     * 获取编码
     *
     * @return CODE - 编码
     */
    public String getCode() {
        return code;
    }

    /**
     * 设置编码
     *
     * @param code 编码
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * @return VALUE
     */
    public String getValue() {
        return value;
    }

    /**
     * @param value
     */
    public void setValue(String value) {
        this.value = value;
    }

    /**
     * 获取备注
     *
     * @return RAMARK - 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置备注
     *
     * @param ramark 备注
     */
    public void setRemark(String ramark) {
        this.remark = ramark;
    }
}